home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 4
/
Amiga Tools 4.iso
/
tools
/
internet-tools
/
internet-install-tools
/
varknet3
/
net3.lha
/
AmiTCP-4.0
/
bin
/
Startnet
< prev
next >
Wrap
Text File
|
1995-12-24
|
739b
|
33 lines
; .key IPADDRESS
; .bra {
; .ket }
; .def IPADDRESS 0.0.0.0
sys:System/rexxmast
online devs:networks/ppp.device 0
; log in
setenv USER vark
echo
echo login: vark
AmiTCP:bin/login -f vark
AmiTCP:bin/umask 022
AmiTCP:AmiTCP
WaitForPort AMITCP
; Configure loop-back device
AmiTCP:bin/ifconfig lo0 localhost
; Configure ppp0
AmiTCP:bin/ifconfig ppp0 $ppp0iplocal $ppp0ipremote
; Add route to this host
AmiTCP:bin/route add $ppp0iplocal localhost
AMITCP:bin/route add default $ppp0ipremote
; Add route to the default gateway
AmiTCP:bin/route add default 0.0.0.0
setenv HOSTNAME `AmiTCP:bin/hostname`
Assign TCP: Exists > NIL:
IF Warn
Mount TCP: from AmiTCP:devs/Inet-Mountlist
EndIf
; Start the internet `super server'
run AmiTCP:bin/inetd